package com.baiyue.service;

import com.baiyue.entity.ProductInfo;
import com.baiyue.model.productInfo.ProductInfoDataRequest;
import com.baiyue.model.productInfo.ProductInfoDataResponse;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 *
 * @author 伍波
 * @date 2024-06-13
 */
public interface ProductInfoService {
    void insert(ProductInfoDataRequest request);

    Page<ProductInfoDataResponse> findByPage(ProductInfoDataRequest request);

    ProductInfoDataResponse findById(ProductInfoDataRequest request);

    Boolean deleteByIds(ProductInfoDataRequest request);

    void updateProductInfo(ProductInfoDataRequest request);

    List<ProductInfoDataResponse> findAllNoPage(ProductInfoDataRequest request);
}
